﻿using System;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using System.Net;
using System.Net.Mail;




namespace ParticeInClass
{


   internal class Program
    {
         static void Main(string[] args)
        {
            //SmtpClient client = new SmtpClient
            //{
            //    Host = "smtp.163.com",
            //    Port = 25,
            //    Credentials = new NetworkCredential("feige_20200214", "yz17bang"),
            //    EnableSsl = false
            //};

            //client.SendCompleted += Client_SendCompleted;

           
           
           
           


        }

        private static void Client_SendCompleted(object sender, System.ComponentModel.AsyncCompletedEventArgs e)
        {
            throw new NotImplementedException();
        }
    }

    //class MajorComparor<T> : IComparer<IList<T>>
    //{
    //    public int Compare([AllowNull] IList<T> x, [AllowNull] IList<T> y)
    //    {
    //        return x.Count() - y.Count();
    //    }
    //}

    class OnlineAttribute : Attribute
    {
        //可以无参也可以有参
        public OnlineAttribute() { }
        public OnlineAttribute(int version)
        {
            Version = version;
        }

        //还可以使用属性
        public int Version { get; set; }
    }






}
